package com.java.struts.base.exception;

public class BusinessException extends RuntimeException {
	
	private static final long serialVersionUID = -5314572128910756382L;
	
	private String errorMessage;

	public BusinessException(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	public BusinessException(String errorMessage,Throwable e) {
		super(e);
		this.errorMessage = errorMessage;
	}

	public String getErrorMessage() {
		return errorMessage;
	}
	

}
